import Mock from "mockjs";

var kcgldata = Mock.mock({
    // 20条数据
    "data|20": [{
        // 商品种类
        "id|+1": 0,
        "classnum|1": ["011564", "011563", "011532", "011546"],
        "class|1": ["小学英语", "小学数学", "小学语文", "小学科学"],
        // 商品Id
        "sqtime": "@date(2022.1.dd)",
        //商品名称
        "imgsrc": "@Image('100x100','@color','小甜甜')",
        //商品地址
        "kczt|1": ["已上架", "已下架"],
        //商品等级评价★
        "yhj": /\d{4}/,
        //商品图片
        "yj": /\d{4}/,
        "xl": /\d{3}/,
        "newtime": "@date(2022.1.dd)",
        "teacher": "@ctitle(1)老师"
            //商品售价
    }]
})

export default kcgldata;